<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>必应下载弹窗</title>
</head>

<body>




  <div id="pop_box">
    <div class="px-float__overlay"></div>
    <div class="pop_content">
      <button id="pop_button" class="pop_button" onclick="clearcon();">
        <svg viewBox=" 0 0 200 200" height="1.25em" width="1.25em" xmlns="http://www.w3.org/2000/svg">
          <path xmlns="http://www.w3.org/2000/svg"
            d="m112.784 100 84.517 84.517c1.8 1.8 2.699 3.93 2.699 6.392s-.9 4.593-2.699 6.392c-1.8 1.8-3.93 2.699-6.392 2.699s-4.593-.9-6.392-2.699L100 112.784l-84.517 84.517c-1.8 1.8-3.93 2.699-6.392 2.699s-4.593-.9-6.392-2.699c-1.8-1.8-2.699-3.93-2.699-6.392s.9-4.593 2.699-6.392L87.216 100 2.699 15.483C.899 13.683 0 11.553 0 9.091s.9-4.593 2.699-6.392C4.499.899 6.629 0 9.09 0s4.593.9 6.392 2.699L100 87.216l84.517-84.517c1.8-1.8 3.93-2.699 6.392-2.699s4.593.9 6.392 2.699c1.8 1.8 2.699 3.93 2.699 6.392s-.9 4.593-2.699 6.392L112.784 100Z"
            fill="currentColor" fill-rule="nonzero"></path>
        </svg>
      </button>
      <!--内容框-->
      <div class="faous">
        <!--核心内容-->
        <div class="assertive">
          <p>简简单单的内容</p>
          <button class="eula-popup__button" onclick="clearcon();">关闭</button>
        </div>
      </div>
    </div>
  </div>
  https://www.microsoft.com/zh-cn/edge/home?form=MA13FJ#evergreen
  <button onclick="Show()">打开弹窗</button>
  <style>
    .px-float__overlay {
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
      background-color: hsla(0, 0%, 40%, 0.4);
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    }

    .pop_content {
      width: 94vw;
      height: 94vh;
      max-height: 520px;
      max-width: 800px;
      border-radius: 1em;
      overflow: hidden;
      padding: 2.5em;

      background-color: #fff;

      box-shadow: 0 9.3905074804px 15px rgb(0 0 0 / 15%);

      top: 40%;
      left: 50%;
      transform: translate(-50%, -40%);

      display: grid;
      grid-template-columns: 100%;
      grid-template-rows: 100%;
      font-size: 16px;

      position: fixed;
    }

    /*关闭按钮*/
    .pop_button {
      z-index: 1;
      position: absolute;
      top: 1.5em;
      right: 1.5em;

      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      box-sizing: border-box;

      outline: none;
      border: none;
      white-space: nowrap;
      font-size: inherit;
      font-family: segoe-vf, sans-serif;
      font-weight: 400;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-overflow: ellipsis;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      padding: 0;
      border-radius: 0.33em;
      min-width: 0;
      min-height: 0;
      cursor: pointer;
      background-color: transparent;
      transition: transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1) 0ms;
    }

    /*内容外框*/
    .faous {
      height: 100%;
      max-height: 100%;
    }

    /*核心内容*/
    .assertive {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5em;
      width: 100%;
      height: 100%;
      font-size: clamp(17px, 1.3157894737vw, 20px);
    }

    .eula-popup__button {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      box-sizing: border-box;
      position: relative;
      outline: none;
      border: none;
      white-space: nowrap;
      font-size: inherit;
      font-family: segoe-vf, sans-serif;
      font-weight: 400;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-overflow: ellipsis;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      padding: 0 1.5em 0.15em;
      border-radius: 0.33em;
      min-width: 6em;
      min-height: 2.5em;
      cursor: pointer;
      background-color: #1a1a1a;
      color: #fff;
      box-shadow: 0 0.7565932872px 2px rgb(0 0 0 / 15%);
      transition: background 0.1s cubic-bezier(0.165, 0.84, 0.44, 1) 0ms,
        color 0.1s cubic-bezier(0.165, 0.84, 0.44, 1) 0ms,
        box-shadow 0.1s cubic-bezier(0.165, 0.84, 0.44, 1) 0ms;
      line-height: 1.1;
      margin-top: 1em;
    }
  </style>

  <script>
    const obj = document.getElementById("pop_box");
    //点击按钮打开
    const Show = () => {
      obj.style.display = "block"
    }
    //点击按钮隐藏
    const clearcon = () => {
      obj.style.display = "none"

    }


  </script>


</body>

</html>